package com.xb.loan.admin.bean.system;

import javax.persistence.Entity;

/**
 * 项目名称 : oss-center
 * 创建日期 : 2015年12月23日
 * 类  描  述 : T_Oss_Role表记录映射类
 */
@Entity
public class OssRole {
    private String roleId;

    private String roleName;
    
    private String partnerId;
    
    private String roleType;
    
    private String parentRoleId;
    
    
    public OssRole(String roleId, String roleName, String partnerId, String roleType,String parentRoleId) {
        super();
        this.roleId = roleId;
        this.roleName = roleName;
        this.partnerId = partnerId;
        this.roleType = roleType;
        this.parentRoleId = parentRoleId;
    }

    public OssRole() {
        super();
 
    }

    /**
     * @return Returns the partnerId.
     */
    public final String getPartnerId() {
        return partnerId;
    }

    /**
     * @param partnerId The partnerId to set.
     */
    public final void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    /**
     * @return Returns the roleType.
     */
    public final String getRoleType() {
        return roleType;
    }

    /**
     * @param roleType The roleType to set.
     */
    public final void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

	public String getParentRoleId() {
		return parentRoleId;
	}

	public void setParentRoleId(String parentRoleId) {
		this.parentRoleId = parentRoleId;
	}
}